<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Pid')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-pid" class="form-control" name="row[pid]" type="number" value="{$row.pid|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label for="address" class="control-label col-xs-12 col-sm-2">{:__('签到地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label for="address" class="control-label col-xs-12 col-sm-2">{:__('签到时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-rule="" class="form-control datetimerange" data-locale='{"format":"HH:mm"}' data-time-picker="true" name="row[time1]" type="text" value="{$time1|htmlentities}">
            <input data-rule="" class="form-control datetimerange" data-locale='{"format":"HH:mm"}' data-time-picker="true" name="row[time2]" type="text" value="{$time2|htmlentities}">
            <input data-rule="" class="form-control datetimerange" data-locale='{"format":"HH:mm"}' data-time-picker="true" name="row[time3]" type="text" value="{$time3|htmlentities}">
            <input data-rule="" class="form-control datetimerange" data-locale='{"format":"HH:mm"}' data-time-picker="true" name="row[time4]" type="text" value="{$time4|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
